package com.psa.system.yd;

import com.wxw.BaseLibrary.adapter.DefaultItemViewCreator;
import com.wxw.BaseLibrary.element.JsonProperty;

/**
 * @author david
 * @date 2020-03-19
 */
public class SalesmanItemViewCreator extends DefaultItemViewCreator {

    public SalesmanItemViewCreator(int layoutId, JsonProperty jsonData, JsonProperty jsonSetting) {
        super(layoutId, jsonData, jsonSetting);
    }

    @Override
    protected boolean canShow(String key, JsonProperty val) {
        if (key.equals("GPS")) {
            return false;
        }
        return super.canShow(key, val);
    }
}
